import request from "../../utils/request";
import { getUser } from "../admin/User";
export function A() {

}
export function getOrderList(currentPage) {

    return request({
        url: '/admin/Order/List',
        method: 'get',
        params: {
            page: currentPage
        }

    })
}

export function batchDeleteOrder(array) {
    return request({
        method: 'delete',
        url: 'admin/Order/batchDelete?ids=' + array,
    })
}


export function getOrderByImportanceKey(data) {
    return request({
        url: '/admin/Order/GetByImportanceKey',
        method: 'post',
        data: data
    })
}
export function updateOrder(data) {
    return request({
        url: '/admin/Order/updateOrder',
        method: 'put',
        data: data
    })
}

export function assignOrderToCourier() {

}
